package com.ssy.lingxi.member.merchant.model.vo.validate.request;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 会员流程规则配置 - 修改流程规则状态接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-05-15
 */
public class MemberProcessIdAndStatusVO implements Serializable {
    private static final long serialVersionUID = -9203653484302020680L;

    /**
     * 流程规则Id
     */
    @NotNull(message = "流程规则Id要大于0")
    @Positive(message = "流程规则Id要大于0")
    private Long id;

    /**
     * 流程规则状态，0-无效，1-有效
     */
    @EnableDisableStatusAnno(message = "流程规则状态：0-无效，1-有效")
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
